Information about Queries Obtained by a Set of Views
نویسندگان
چکیده
Significant research has been done on examining the problems of generating equivalent rewritings (ER) or maximally-contained rewritings (MCR) of queries. At the same time, when ERs and MCRs do not exist, users can still use views to obtain meaningful information on their queries. Emerging applications require a study of the problem of rewriting queries using views in a variety of new scenarios. For example, in web-search applications when MCRs may not exist, users may want to obtain a rewriting that provides all query answers (but may contain false positives). Even when an MCR is not available, security requirements of other applications may require checking whether any rewriting exists for a query using a set of views expressed in the fixed query language in which users can pose queries. In this paper we study contained and containing rewritings of a query using a set of views; the rewritings give a subset and a superset, respectively, of the query answer. We consider queries and views in the language of conjunctive queries with arithmetic comparisons (CQAC queries), and rewritings in the language of unions of CQAC queries. To the best of our knowledge, no algorithm is known for checking for the existence of MCRs for many interesting cases of CQAC queries and views. In those cases, our results can be used to compute some answers to a query using views — depending on the application — even if some other answers are missing or if false positives are obtained. We refer to a containing rewriting that contains no false negatives and with the minimal number of false positives (when using a given set of views) as a “minimally containing rewriting” (MiCR). While the running time of our algorithm for finding MiCRs is worst-case exponential in the size of the problem inputs, the algorithm performs well in many practical cases, due to its extensive pruning of the search space. Our experiments show good scalability of our algorithm.
منابع مشابه
بهبود الگوریتم انتخاب دید در پایگاه داده تحلیلی با استفاده از یافتن پرس وجوهای پرتکرار
A data warehouse is a source for storing historical data to support decision making. Usually analytic queries take much time. To solve response time problem it should be materialized some views to answer all queries in minimum response time. There are many solutions for view selection problems. The most appropriate solution for view selection is materializing frequent queries. Previously posed ...
متن کاملImprovement of the Analytical Queries Response Time in Real-Time Data Warehouse using Materialized Views Concatenation
A real-time data warehouse is a collection of recent and hierarchical data that is used for managers’ decision-making by creating online analytical queries. The volume of data collected from data sources and entered into the real-time data warehouse is constantly increasing. Moreover, as the volume of input data to the real time data warehouse increases, the interference between online loading ...
متن کاملAnswering Queries Using Views over Description Logics Knowledge Bases
Answering queries using views amounts to computing the answer to a query having information only on the extension of a set of precomputed queries (views). This problem is relevant in several fields, such as information integration, query optimization, and data warehousing, and has been studied recently in different settings. In this paper we address answering queries using views in a setting wh...
متن کاملA Solution to View Management to Build a Data Warehouse
Several techniques exist to select and materialize a proper set of data in a suitable structure that manage the queries submitted to the online analytical processing systems. These techniques are called view management techniques, which consist of three research areas: 1) view selection to materialize, 2) query processing and rewriting using the materialized views, and 3) maintaining materializ...
متن کاملAnswering Queries Using Limited External Query Processors
When answering queries using external information sources, their contents can be described by views. To answer a query, we must rewrite it using the set of views presented by the sources. When the external information sources also have the ability to answer some (perhaps limited) sets of queries that require performing operations on their data, the set of views presented by the source may be in...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007